package com.diary.server.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;

@Data
public class DiaryDTO implements Serializable {
    private String title;
    private String content;
    private String recordTime;
    private Long userId;
    private Long id;
    private String imgs;
    @Schema(description = "心情")
    private String mood;
    @Schema(description = "文本类型 0：常规 1：markdown" )
    private String textType;
}
